package com.kaili.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
@TableName("hs_opt_query")
public class HsOptQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 运单号
     */
    @TableId("ewb_no")
    private String ewbNo;
    /**
     * 步骤  1开单  2配载  3发车  4在途  5到车  6派件  7签收
     */
    private Integer step;
    /**
     * 业务操作流水号
     */
    @TableField("operation_id")
    private String operationId;
    /**
     * 操作类型id
     */
    @TableField("operation_type_id")
    private Integer operationTypeId;
    /**
     * 操作时间
     */
    @TableField("operation_time")
    private Date operationTime;
    /**
     * 操作网点id
     */
    @TableField("operation_site_id")
    private Integer operationSiteId;

    private Integer status = 1;
    /**
     * 操作员
     */
    private Integer operator;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getOperator() {
        return operator;
    }

    public void setOperator(Integer operator) {
        this.operator = operator;
    }

    public String getEwbNo() {
        return ewbNo;
    }

    public void setEwbNo(String ewbNo) {
        this.ewbNo = ewbNo;
    }

    public Integer getStep() {
        return step;
    }

    public void setStep(Integer step) {
        this.step = step;
    }

    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }

    public Integer getOperationTypeId() {
        return operationTypeId;
    }

    public void setOperationTypeId(Integer operationTypeId) {
        this.operationTypeId = operationTypeId;
    }

    public Date getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(Date operationTime) {
        this.operationTime = operationTime;
    }

    public Integer getOperationSiteId() {
        return operationSiteId;
    }

    public void setOperationSiteId(Integer operationSiteId) {
        this.operationSiteId = operationSiteId;
    }

    @Override
    public String toString() {
        return "HsOptQuery{" +
        ", ewbNo=" + ewbNo +
        ", step=" + step +
        ", operationId=" + operationId +
        ", operationTypeId=" + operationTypeId +
        ", operationTime=" + operationTime +
        ", operationSiteId=" + operationSiteId +
        "}";
    }
}
